import { request } from '@/utils/request'

// 创建订单
export const createOrder = (data: object | any) => request('/zgyp-recycle/api/v1/RecycleOrder/add', 'POST', data)

export const fetchOrderList = (data: object | any) => request('/zgyp-recycle/api/v1/RecycleOrder/getOrderInfoPage', 'POST', data)

export const fetchOrderDetail = (data: object | any) => request('/zgyp-recycle/api/v1/RecycleOrder/detail', 'GET', data)

// ssd配置项
export const fetchConfigList = (data: object | any) => request('/zgyp-system/api/v1/config/openList', 'POST', data)
